Holds information about a window configuration. More...
Public Member Functions | |
WindowDescriptor () | |
~WindowDescriptor () | |
int | getValue (WINDOW_PROPS prop) const |
void | setValue (WINDOW_PROPS prop, int value) |
nkMemory::StringView | getAsString () |
Holds information about a window configuration.
The configuration API is quite young and holds only basic situations.
nkGraphics::WindowDescriptor::WindowDescriptor | ( | ) |
Constructor.
nkGraphics::WindowDescriptor::~WindowDescriptor | ( | ) |
Destructor.
int nkGraphics::WindowDescriptor::getValue | ( | WINDOW_PROPS | prop | ) | const |
prop | The property which value should be retrieved. |
void nkGraphics::WindowDescriptor::setValue | ( | WINDOW_PROPS | prop, |
int | value | ||
) |
Sets a property to a value.
prop | The property to set. |
value | The value to give it. |
nkMemory::StringView nkGraphics::WindowDescriptor::getAsString | ( | ) |